package com.sm.dao;

import com.github.pagehelper.Page;
import com.sm.model.Data;
import com.sm.model.DataCloudLibrary;
import org.apache.ibatis.annotations.Param;

public interface DataCloudLibraryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DataCloudLibrary record);

    int insertSelective(DataCloudLibrary record);

    DataCloudLibrary selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DataCloudLibrary record);

    int updateByPrimaryKeyWithBLOBs(DataCloudLibrary record);

    int updateByPrimaryKey(DataCloudLibrary record);

    Page<DataCloudLibrary> selectDataList(@Param("categoryId")Integer categoryId);

    Page<DataCloudLibrary> searchDataCloud(@Param("search")String search);

    int updateDataCloud(DataCloudLibrary dataCloudLibrary);

}